package com.xw.childhealth.service;

import com.xw.childhealth.entity.DataDictionary;

import java.util.List;

/**
 * @Description:
 * @Author: y
 * @CreateDate: 2019-11-07 16:36
 * @Version: 1.0
 */
public interface DataDictionaryService {

    //查询节点
    List<DataDictionary> findParentNode(Integer id);


    //查询单条数据
    DataDictionary findOneById(Integer id);

    //修改或保存一条数据
    DataDictionary save(DataDictionary data);


    //删除一条数据
    void delRecord(Integer id);

    //查询子节点
//    List<DataDictionary> findChildNode();

}
